//
//  SRHistoryDataSR03.h
//  sr01sdkProject
//
//  Created by  on 2022/8/12.
//  Historical data 1

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, SR03HIS_MEASURE_TYPE) {
    SR03HIS_MEASURE_TYPE_HR = 0,  // Measurement Mode - Heart Rate
    SR03HIS_MEASURE_TYPE_OXYGEN = 1, // Measurement Mode - Blood Oxygen
};

extern const uint32_t DATA_INVALID_UUID; // dataUuid 等于此值 为无效的数据

NS_ASSUME_NONNULL_BEGIN

@interface CAHistoryDataSR03 : NSObject
@property(strong, readonly, nonatomic) NSNumber *timeStamp;

@property(strong, readonly, nonatomic) NSNumber *deviceModifyHeartRate; // Heart rate
@property(strong, nonatomic) NSNumber *hrv;
@property(strong, nonatomic) NSNumber *breathRate; // Respiration rate
@property(strong, readonly, nonatomic) NSNumber *bloodOxygen;// Blood oxygen level
@property(strong, readonly, nonatomic) NSNumber *skinTemp;// Skin temperature value
@property(strong, readonly, nonatomic) NSNumber *steps; // The cumulative value of steps will be reset to 0 at 24:00 every day.
@property(strong, readonly, nonatomic) NSNumber *soprtTimes; // Movement Count Movement Count within five minutes

@property(assign, nonatomic, readonly)BOOL isCharging; // Is it charging?

@property(strong, nonatomic, readonly)NSNumber *dataUuid;
@property(strong, nonatomic, readonly)NSNumber *isWear; // Wearing
@property(strong, nonatomic, readonly)NSNumber *isSportMode; // Is it in sports mode?

@property(strong, nonatomic, readonly)NSNumber *battery;// Ring power level when recording data

@property(assign, nonatomic)SR03HIS_MEASURE_TYPE measureType;  // Measurement Mode


@end

NS_ASSUME_NONNULL_END
